import http from '@/common-supply/uni.interface.js' 

// 获取列表
export function carouselList(paramsBody) {
	return http.get('/api/carousel-images/list?carouselImagesType=' + paramsBody)
}


// 获取详情
export function carouseldetil(params) {
	return http.get('/api/carousel-images/' + params, )
}


//操作
export function paramsBodyaction(paramsBody) {
	return http.post('/api/carousel-images/operate', paramsBody)
}

//获取banner
export function bannerList(paramsBody) {
	return http.get('/api/carousel-images/homeCarouselImagesList', paramsBody)
}


//首页公告
export function notice(paramsBody) {
	return http.get('/api/bulletin/list')
}

//历史公告
export function historynotice(paramsBody) {
	return http.post('/api/bulletin/history-list',paramsBody)
}

//联系客服 
export function customerservices(paramsBody) {
	return http.get('/api/purchase-unity/customer-services')
}

//首页浏览
export function looklx(paramsBody) {
	return http.get('/api/carousel-images/look/' + paramsBody)
}

//公告未读数量
export function unreadqty(paramsBody) {
	return http.get('/api/bulletin/unread-qty ')
}

// 公告设置已读
export function setstatus(paramsBody) {
	return http.get('/api/bulletin/set-status/' + paramsBody)
}

